projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e950f32
)
Don't resignal errors in flymake-diag-region
author
João Távora
<joaotavora@gmail.com>
Fri, 3 Nov 2017 16:53:45 +0000
(16:53 +0000)
committer
João Távora
<joaotavora@gmail.com>
Fri, 3 Nov 2017 16:53:45 +0000
(16:53 +0000)
* lisp/progmodes/flymake.el (flymake-diag-region): Use
flymake-log instead of flymake-error.
lisp/progmodes/flymake.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/flymake.el
b/lisp/progmodes/flymake.el
index c2349d8c7cc05593c7c9831f6e66a9c67999e2eb..e13d79770e5d22638eaef906d5db5777f83e6873 100644
(file)
--- a/
lisp/progmodes/flymake.el
+++ b/
lisp/progmodes/flymake.el
@@
-342,7
+342,7
@@
region is invalid."
(let* ((beg (fallback-bol))
(end (fallback-eol beg)))
(cons beg end)))))))
- (error (flymake-
error
"Invalid region line=%s col=%s" line col))))
+ (error (flymake-
log :warning
"Invalid region line=%s col=%s" line col))))
(defvar flymake-diagnostic-functions nil
"Special hook of Flymake backends that check a buffer.